﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools;

namespace EntityPet
{
    /// <summary>
    /// 宠物护理
    /// </summary>
    public class Pet_Care:MessageChange
    {
        /// <summary>
        /// 宠物id
        /// </summary>
        [Key]
        [Required]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid Id { get; set; }

        /// <summary>
        /// 宠物主人
        /// </summary>
        [Required]
        [StringLength(30)]
        public string? Owner { get; set; }




        /// <summary>
        /// 宠物种类
        /// </summary>
        [StringLength(30)]
        [Required]


        public string? Category { get; set; }

        /// <summary>
        /// 宠物年龄
        /// </summary>
        [Required]
        public int Age { get; set; }

        /// <summary>
        /// 宠物性别使用枚举类型
        /// </summary>
        [Required]

        public Gender Gender { get; set; }

        /// <summary>
        /// 宠物体重
        /// </summary>
        [Required]
        public double Weight { get; set; }

        /// <summary>
        /// 健康状况
        /// </summary>
        public string? Health_status { get; set; }

        /// <summary>
        /// 护理套餐deadline：1.毛皮护理 2.口腔护理 3.头部护理 4.修剪
        /// </summary>
        [Required]
        public int Package { get; set; }

        /// <summary>
        /// 服务方式：0.到店护理 1.上门护理
        /// </summary>
        public bool Service { get; set; }

        /// <summary>
        /// 护理截止时间
        /// </summary>
        public DateTime Deadline { get; set; }
    }
}
